import {
    post
} from '../utils/request'
//这个接口是用来获取token的
export function login(user) {
    return post('/api/v1/auth/login', user)
}
export function reg(data) {
    return post('/api/v1/auth/reg', data)
}